import Vue from 'vue';
import VueRouter from 'vue-router';

Vue.use(VueRouter);

const routes = [
  {
    path: '/hld',
    name: 'hld',
    component: () => import('@/views/hld/hld'),
  }, 
  {
    path: '/res',
    name: 'result',
    component: () => import('@/views/hld/result'),
  },
  {
    path: '/',
    name: 'inquiry',
    component: () => import('@/views/inquiry/inquiry'),
    redirect: '/inquiryContent',
    children:[
      {
        path: '/inquiryContent',
        component: () => import('@/views/inquiry/inquiryContent')
      }
    ]
  }
];

const router = new VueRouter({
  routes
});

export default router;
